package com.wefans.wefansapp.common.tool.popup;

import android.content.Context;
import android.view.View;
import android.widget.Button;

import com.wefans.wefansapp.R;

public class SendPasswordDialog extends BaseDialog {

	private Button mBtnClose = null;
	private Button mBtnLogin = null;	
	
	private OnSendPasswordListener mSendPasswordListener = null;
	
	public interface OnSendPasswordListener {
		void onLogin();		
	}
	
	public SendPasswordDialog(Context mContext) {
		super(mContext);
		
		setContentView(R.layout.dialog_send_password_complete);
		
		mBtnClose = (Button)findViewById(R.id.BTN_DIALOG_CLOSE);
		mBtnLogin = (Button)findViewById(R.id.BTN_LOGIN);		
		
		mBtnClose.setOnClickListener(onClickListener);
		mBtnLogin.setOnClickListener(onClickListener);
	}

	android.view.View.OnClickListener onClickListener = new android.view.View.OnClickListener() {
		
		public void onClick(View v) {
			
			switch (v.getId()) {
			case R.id.BTN_LOGIN:
				dismiss();
				break;
			case R.id.BTN_DIALOG_CLOSE:
				dismiss();
				break;
			}
		}
	};

}
